package com.shengxing.lljl.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *   网址挂机积分
 * </p>
 *
 * @author 小邹
 * @since 2024-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_on_hook")
public class OnHook implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @TableId(type = IdType.AUTO)
    private Long onHookId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 记录时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime recodeTime;

    /**
     * 记录类型
     */
    private Integer recodeType;

    /**
     * 积分数值		积分兑换

         1	挂机结算

          2	积分转出

         3	积分转入 4
     */
    private Integer integral;


}
